
enum Method {
  GET,POST
}

abstract class BaseRequest {

  Method httpMethod();

  String path();

  Map<String, dynamic> params = Map();

  Map<String, dynamic> addParameter(String key, Object value) {
    params[key] = value.toString();
    return params;
  }

}